package com.syni.mdd.sjb.common.datatreaure.entity.vo.rp.minAppLogin;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class SearchConsumerCouponRpVo {
    private BmsGroupBuyData bmsGroupBuy;

    private UserReceCoupon userReceCoupon;

    private List<Code> codes = new ArrayList<>();

    private Integer codeType;

    private String verId;

    @Data
    public static class Code{
        private Integer status;
        private String codeNumber;
    }

    //出参
    @Data
    public static class BmsGroupBuyData {
        private Integer groupBuyId;
        private String groupBuyName;
        private List<String> groupPhotos;
        private LocalDateTime expireTime;
        private Double groupValue;
        private Double groupPrice;
    }

    @Data
    public static class UserReceCoupon {
        private Integer couponId;
        private String couponName;
        private String businessName;
        private LocalDateTime expireTime;
        private Integer couponType = 5;
    }
}
